package com.atguigu.alibaba.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author timiv
 */
@Component
@ConfigurationProperties(prefix = "config")
@Getter
@Setter
@RefreshScope
public class IConfig {

    private String info;
}
